package com.csu.tour.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.csu.tour.entity.HotelInfo;
import com.csu.tour.mapper.NonstarInfoMapper;
import com.csu.tour.service.NonstarInfoService;
import org.springframework.stereotype.Service;

@Service
public class NonstarInfoServiceImpl extends ServiceImpl<NonstarInfoMapper, HotelInfo> implements NonstarInfoService {

    @Override
    public void addNonstarInfo(HotelInfo starInfo) {
        this.baseMapper.insert(starInfo);
    }
}